package src.com.foreknow.demo11;

public class Penguin extends Pet {
    @Override
    public void toHospital() {
        this.setHealth(70);
        System.out.println("吃鱼...溜达");

    }

    public void swimming(){
        System.out.println("游泳");
    }
}







